package com.baidu.fastXML;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@NoArgsConstructor
@AllArgsConstructor
public class ResourceInfo {
    private String resourceType;
    private String resourceName;
    private String resourceId;

    public ResourceInfo(String type, String name) {
        this.resourceType = "resource-" + type;
        this.resourceName = name;

    }

}
